import QtQuick 2.12
import QtQuick.Controls 2.12

Item {
    Text {
        //id: window_text
        font.pointSize: 25
        text: qsTr("MyCompnent text")
    }
    Button{
        x: 20
        y: 100
        text: qsTr("Button")
        onClicked: {
            window_text.text += "->一键三连"
        }
    }
}
